# a = input()
# alpha = "ABCDEFGHIJKLMNOPQRSTUVWXYZABC"
# for j in range(len(a)):
#     if a[j] in list(alpha) or str.upper(a[j]) in list(alpha):
#         for i in range(26):
#             if alpha[i] == a[j] or alpha[i] == str.upper(a[j]):
#                 if j == 0 and alpha[i] == a[j]:
#                     print(alpha[i + 3], end="")
#                 else:
#                     print(str.lower(alpha[i+3]), end="")
#             else:
#                 pass
#     else:
#         print(a[j], end="")


s = input()
t = ""
for c in s:
    if 'a' <= c <= 'z':
        t += chr(ord('a') + ((ord(c)-ord('a')) + 3) % 26)
    elif 'A' <= c <= 'Z':
        t += chr(ord('A') + ((ord(c)-ord('A')) + 3) % 26)
    else:
        t += c
print(t)